package com.lingnan.interceptor;


import feign.RequestInterceptor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@Slf4j
public class FeignConfiguration {

    @Bean
    public RequestInterceptor requestInterceptor(){
        log.info("FeignConfiguration.requestInterceptor");
        return new FeignRequestInterceptor();
    }

}
